package com.lqwu.mallchatserver.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lqwu.mallchatserver.user.model.entry.Role;

/**
* @author 伍立权
* @description 针对表【role(角色表)】的数据库操作Service
* @createDate 2025-05-29 11:11:32
*/
public interface RoleService extends IService<Role> {
    /**
     * 判断用户是否有权限
     * @param uid
     * @param roleId
     * @return
     */
    Boolean hasPower(Long uid,Long roleId);
}
